home *** CD-ROM | disk | FTP | other *** search
- Path: firechat.uucp.netcom.com!Benski
- Subject: Re: Best way to make a circle
- Newsgroups: comp.lang.c
- From: Benski@firechat.uucp.netcom.com
- Date: Thu, 08 Feb 96 08:11:51 EST
- Message-ID: <8264167616301@firechat.uucp.netcom.com>
- References: <1996Feb8.043040.19301@lafn.org>
- Organization: Fire Chat On-Line
-
-
-
- AN>I am working on 3d Graphics quite succesfully as of now and am trying to
- AN>put together a good Graphics library that is much faster than BGI drivers.
- AN>I know that Sin and Cosine take to much time to calculate... so... which
- AN>way should I do it?
-
-
- AN>Thanks
- AN>--
- AN> Hofstadter's Law: | o__
- AN> It always takes longer than you expect, even | _.</)_
- AN> when you take Hofstadter's Law into account. | (_) \(_)
- AN> " Godel Escher Bach" | Andres, an234@lafn.org
-
-
- Use a 360 element array of floating (or fixed) point numbers, in which
- each one corresponds to the sin (or cosine) of it's element
-
- ie:
- Cos_Table[180] == Cosine(180)
-
- This speeds up runtime calculations for drawing circles, ellipses,
- 2d-spheres, arcs, etc. greatly
-
- Benski
- ========================= !!! Automated Notice !!! =======================
- E-mail replies to this user should have the following on the first line
- of message text: TO: Benski
- ============================================================================
-
-